package com.caiheng.api.entity.platform;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 分成比例对象 platform_split
 *
 * @author ruoyi
 * @date 2021-08-17
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("platform_split")
public class PlatformSplit implements Serializable {

    private static final long serialVersionUID=1L;


    /**
     * $column.columnComment
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 类型名称
     */
    private String typeName;

    /**
     * 分成类型
     */
    private String splitType;

    /**
     * 业主分成比例
     */
    private BigDecimal proprietorSplit;

    /**
     * 物业分成比例
     */
    private BigDecimal propertySplit;

    /**
     * 平台分成比例
     */
    private BigDecimal platformSplit;

    /**
     *  类型单位
     */
    private String splitTypeUnit;

    @TableField(exist = false)
    private String splitTypeName;
}
